/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.ieslaferreria.creditsintesis.logicgame.actions;

import edu.ieslaferreria.creditsintesis.logicgame.ObjectWithStates;

/**
 * clase que implementa la clase Abstracta ActionEvent para los Eventos
 * de objetos Moviles con estados.
 * @author Administrador
 */
public class ProcessMobileObjectStateEvent extends ActionEvent{
    private float time;
    private ObjectWithStates objectWithStates;


    public ProcessMobileObjectStateEvent(Integer actionId, ObjectWithStates obj, float time) {
        super(actionId);
        this.objectWithStates = obj;
        this.time = time;
    }

    /**
     * @return the time
     */
    public float getTime() {
        return time;
    }
    /**
     * @return the objectWithStates
     */
    public ObjectWithStates getObjectWithStates() {
        return objectWithStates;
    }

}
